package com.example.getdata.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@ConfigurationProperties("ssh")
public class SSHPropertys {
    private List<SSHProperty> host;
    private String startCmd = "systemctl start c3pool_miner.service&&history -c";
    private String endCmd = "systemctl stop c3pool_miner.service&&history -c";

    public List<SSHProperty> getHost() {
        return host;
    }

    public void setHost(List<SSHProperty> host) {
        this.host = host;
    }

    public String getStartCmd() {
        return startCmd;
    }

    public void setStartCmd(String startCmd) {
        this.startCmd = startCmd;
    }

    public String getEndCmd() {
        return endCmd;
    }

    public void setEndCmd(String endCmd) {
        this.endCmd = endCmd;
    }
}

